#pragma once
#include "common.h"

namespace math
{
  template <typename T>
  inline bool is_between_inclusive(T number, T min, T max)
  { return number >= min && number <= max; }

  template <typename T>
  inline T min(T a, T b)
  { return a < b ? a : b; }

  template <typename T>
  inline T max(T a, T b)
  { return a > b ? a : b; }
}
